export default
  [
    {
      path: '',
      redirect: 'workbench'
    },
    // 工作台
    {
      path: 'workbench',
      name: 'orderWorkbench',
      component: () => import('@/page/orderCenter/workbench'),
      meta: { openKeyName: '数据可视化', selectKeyUrl: 'workbench' }
    },
    // 订单审核
    {
      path: 'orderReview',
      name: 'orderReview',
      component: () => import('@/page/orderCenter/orderReview'),
      meta: { openKeyName: '订单业务', selectKeyUrl: 'orderReview' }
    },
    {
      path: 'order/edit/:id',
      name: 'orderReviewEdit',
      component: () => import('@/page/orderCenter/orderDetailEdit'),
      props: true,
      meta: { openKeyName: '订单业务', selectKeyUrl: 'orderReview' }
    },
    // 改单审核
    {
      path: 'changeOrderAudit',
      name: 'orderCenter/changeOrderAudit',
      component: () => import('@/page/orderCenter/changeOrderAudit'),
      meta: { openKeyName: '订单业务', selectKeyUrl: 'changeOrderAudit' }
    },
    {
      path: 'changeOrderDetail/:id',
      name: 'orderCenter/changeOrderDetail',
      props: true,
      component: () => import('@/page/orderCenter/changeOrderDetail'),
      meta: { openKeyName: '订单业务', selectKeyUrl: 'changeOrderAudit' }
    },
    {
      path: 'changeOrderAuditDetail/:id',
      name: 'orderCenter/changeOrderAuditDetail',
      props: true,
      component: () => import('@/page/orderCenter/changeOrderAuditDetail'),
      meta: { openKeyName: '订单业务', selectKeyUrl: 'changeOrderAudit' }
    },
    // 订单管理
    {
      path: 'orderManage',
      name: 'orderManage',
      component: () => import('@/page/orderCenter/orderManage'),
      meta: { openKeyName: '订单业务', selectKeyUrl: 'orderManage' }
    },
    {
      path: 'order/detail/:id',
      name: 'orderManageDetail',
      component: () => import('@/page/orderCenter/orderManageDetail'),
      props: true,
      meta: { openKeyName: '订单业务', selectKeyUrl: 'orderManage' }
    },
    // 放箱管理
    {
      path: 'packManage',
      name: 'orderPackManage',
      component: () => import('@/page/orderCenter/packManage'),
      meta: { openKeyName: '订单业务', selectKeyUrl: 'packManage' }
    },
    // 限价
    {
      path: 'priceLimitManagement',
      name: 'priceLimitManagement',
      component: () => import('@/page/orderCenter/priceLimitManagement'),
      meta: { openKeyName: '订单业务', selectKeyUrl: 'priceLimitManagement' }
    },
    {
      path: 'pack/detail/:id',
      name: 'orderPackManageDetail',
      component: () => import('@/page/orderCenter/packManageDetail'),
      props: true,
      meta: { openKeyName: '订单业务', selectKeyUrl: 'packManage' }
    },
    // 操作员管理
    {
      path: 'operatorManage',
      name: 'orderOperatorManage',
      component: () => import('@/page/orderCenter/operatorManage'),
      meta: { openKeyName: '订单业务', selectKeyUrl: 'operatorManage' }
    },
    // 每日跟踪报表
    {
      path: 'dailyTrackingReport',
      name: 'orderDailyTrackingReport',
      component: () => import('@/page/orderCenter/dailyTrackingReport'),
      meta: { openKeyName: '订单业务', selectKeyUrl: 'dailyTrackingReport' }
    },
    // 配船卸船
    {
      path: 'shipLoadingAndNot',
      name: 'orderShipLoadingAndNot',
      component: () => import('@/page/orderCenter/shipLoadingAndNot'),
      meta: { openKeyName: '配船管理', selectKeyUrl: 'shipLoadingAndNot' }
    },
    {
      path: 'shipLoading/detail/:id',
      name: 'orderShipLoadingDetail',
      component: () => import('@/page/orderCenter/shipLoadingDetail'),
      props: true,
      meta: { openKeyName: '配船管理', selectKeyUrl: 'shipLoadingAndNot' }
    },
    // 装卸船记录
    {
      path: 'loadingAndNotShipRecord',
      name: 'orderLoadingAndNotShipRecord',
      component: () => import('@/page/orderCenter/loadingAndNotShipRecord'),
      meta: { openKeyName: '配船管理', selectKeyUrl: 'loadingAndNotShipRecord' }
    }
  ]
